package com.example.service;

import com.example.pojo.Specification;
import com.example.pojo.SpecificationOption;
import com.example.req.SpecificationGroup;
import com.example.req.SpecificationReq;

import java.util.List;

public interface SpecificationService {
    List<Specification> queryByCondition(SpecificationReq specificationReq);

    List<SpecificationOption> querySpecificationOptionBySpecId(Long id);

    int saveOrUpdate(SpecificationGroup specificationGroup);

    int deleteById(Long id);
}
